package com.asset.account.dao.entity;


import java.math.BigDecimal;

/**
 * @author luoyongzhi
 * 用户账户实体
 */
public class AccountEntity{

    /**
     * 账户id
     */
    private transient Long id;

    /**
     * 用户id
     */
    private transient Long userId;

    /**
     * 总收入
     */
    private transient BigDecimal income;

    /**
     * 总支出
     */
    private transient BigDecimal expenditure;

    /**
     * 总余额
     */
    private transient BigDecimal totalAmount;

    /**
     * 创建时间
     */
    private transient String createdTime;

    /**
     * 修改时间
     */
    private transient String updatedTime;

    private transient String accountType;

    public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getIncome() {
        return income;
    }

    public void setIncome(BigDecimal income) {
        this.income = income;
    }

    public BigDecimal getExpenditure() {
        return expenditure;
    }

    public void setExpenditure(BigDecimal expenditure) {
        this.expenditure = expenditure;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

}
